#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) 
{
	int i = 0;
	for(i=2;i<=100;i++)
	{
	    int j = 0 ;
	    for( j = 2;j<i;j++)
		    {
		        if (i % j == 0)
		           {
		             break;
		            }
	        }
	    if (i==j)
		    printf("%d  ",i);
	}
	
	return 0;
}
